<?php

namespace backend\controllers;

use backend\extensions\ApiBaseController;

/**
 * DefaultController controller
 */
class IndexController extends ApiBaseController
{

    /**
     * 测试入口
     * **/
    public function actionIndex()
    {

        // $str = md5('1qaz2wsx');
        return $this->jsonSuccess();
    }

    /**
     * 默认入口
     * **/
    public function actionDefault()
    {
        return $this->jsonSuccess([], '欢迎光临，技术负责人WMX');
    }
}
